load(
    "@nazel//:nazel_build.bzl",
    "nazel_cc_library",
)

package(default_visibility = ["//visibility:public"])

nazel_cc_library(
    name = "view",
    srcs = [
        "base.cc",
        "book_builder.cc",
        "json_object_table_builder.cc",
        "string_json_builder.cc",
        "trade_builder.cc",
        "view_collection.cc",
    ],
    hdrs = [
        "base.h",
        "book_builder.h",
        "json_object_table_builder.h",
        "string_json_builder.h",
        "trade_builder.h",
        "view_collection.h",
    ],
    deps = [
        "//cc/coin1/base:exception_util",
        "//cc/coin1/fastfeed:price_map",
        "//cc/third_party:nlohmann_json",
        "@apiset//coin/feed/fastfeed:fastfeed_cpp",
    ],
)
